package com.masterclient.app.widget;

import android.content.Context;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.util.AttributeSet;

/**
 * @auther hjian
 * @date 2019/12/11.
 */
public class StaggeredGridNoScrollLayoutManager extends StaggeredGridLayoutManager {


    public StaggeredGridNoScrollLayoutManager(int spanCount, int orientation) {
        super(spanCount, orientation);
    }

    public StaggeredGridNoScrollLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    @Override
    public boolean canScrollHorizontally() {
        return false;
    }

    @Override
    public boolean canScrollVertically() {
        return false;
    }


}
